//
// Created by jaesonzhang on 2023/10/11.
//

#ifndef SKIADEMOPLAYGROUND_CUSTOMSKIADRAW_H
#define SKIADEMOPLAYGROUND_CUSTOMSKIADRAW_H


#include "skia/include/core/SkCanvas.h"
#include "skia/include/core/SkBitmap.h"

class CustomSkiaDraw {
 public:
  void doDraw();

  CustomSkiaDraw(SkBitmap bitmap);
 private:
  std::shared_ptr<SkCanvas> background;
  SkBitmap _bitmap;
};


#endif //SKIADEMOPLAYGROUND_CUSTOMSKIADRAW_H
